Repository navigation
test-companion: clearer replies: links instead of ids, a highlighted next step - #99
Merged
francisf merged 3 commits intoNov 23, 2026
Conversation
…next step - The report table links "View comment" and "View plan" instead of showing comment numbers. - A plan ends with a highlighted "Next step" box that says what `go` does for that job, how to change the plan first, and when it expires. - Saved test cases link to their Test Management folder. - When approved cases aren't saved, the reply links straight to them on GitHub so nothing is lost. A plan no longer suggests downloading anything. Links are built by the Action from ids of a fixed shape, never read from the run's own summary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
|
…eport Test Management's web app keys on the numeric project id, not the PR-… code the cases file records, so a link built from those ids opened nothing. The link now comes from `tc tm add --json`'s `folderUrl`, and only a folder page of exactly that shape is linked. Until the CLI reports it, the folder is named without a link. The plan's "Will be saved to" line is plain text again. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- One escaper for text we didn't write (`plain`, now in report.mjs): a folder
name with a blank line in it can no longer break out of its link into
Markdown, a mention or a link.
- A plan's job summary and check say the same as its comment ("nothing is
saved until you approve"), and a plan whose run did save cases says so.
- The folder link must name the folder the cases were saved to, and may be on
a region's own Test Management host.
- The download link is given once per reply, says until when GitHub keeps it,
and survives an unexpected failure after the file was confirmed.
- `go` on a fix plan opens a pull request, not always a draft; the older
`test` job says what `go` does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
naimish-browse
marked this pull request as ready for review
November 23, 2026 13:02
francisf
approved these changes
Nov 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Makes Test Companion's pull request replies easier to act on.
What changes
@who · View comment, and the "Plan" row readsView plan, each a link.godoes for that job (for example "save these test cases to Test Management"), how to change the plan first, and when it expires.tc tm add --json'sfolderUrl. A CLI that doesn't report it yet gives the folder's name without a link.Safety
browserstack.comhost, for the same folder the cases were saved to. The download link is built from numeric run and artifact ids. Nothing is read from the run's own summary file, which the agent can write. Tests cover each of these, and howmain.mjswires them in.Verified live on a test repository: the View comment and View plan links, the highlighted box (GitHub renders it as an Important callout), and a plan with no download offer. The folder link waits on the CLI change that reports
folderUrl. The failed-save download link is covered by tests only.Tests
1021 pass, 0 fail, and no
not oklines.🤖 Generated with Claude Code